package com.yuuko.yuukoapi.project.limb.doman.entity

import com.yuuko.yuukoapi.common.utils.UUIDGenerator
import com.yuuko.yuukoapi.model.base.BaseEntity
import org.babyfish.jimmer.sql.Column
import org.babyfish.jimmer.sql.Entity
import org.babyfish.jimmer.sql.GeneratedValue
import org.babyfish.jimmer.sql.Id
import org.babyfish.jimmer.sql.IdView
import org.babyfish.jimmer.sql.JoinColumn
import org.babyfish.jimmer.sql.JoinTable
import org.babyfish.jimmer.sql.Key
import org.babyfish.jimmer.sql.ManyToMany
import org.babyfish.jimmer.sql.ManyToOne
import org.babyfish.jimmer.sql.Table
import java.time.LocalDateTime

/**
 * <p>
 *  device_log

 * </p>
 *
 * @author yuuko
 * @date 2025-06-23
 */
@Entity
@Table(name = "device_log")
interface DeviceLog {

    /**
     *  id

     */
    @Id
    @GeneratedValue(generatorType = UUIDGenerator::class)
    val id: String

    /**
     *  device_id

     */
    @Column(name = "device_id")
    val deviceId: String

    /**
     *  log_type

     */
    @Column(name = "log_type")
    val logType: String?

    /**
     *  content

     */
    val content: String?

    /**
     *  created_by

     */
    @Column(name = "created_by")
    val createdBy: String?

    /**
     *  created_at

     */
    @Column(name = "created_at")
    val createdAt: LocalDateTime?
}